package com.bookmall.model;

/**
 * Created by Squking on 2018/5/13.
 */
public class BookSearchRequest {
    public enum  KeywordMatchType
    {
        PREFIX, POSTFIX, CONTAINS
    }

    public enum  BookContentType
    {
        ISBN, AUTHOR, NAME
    }

    private String keywords;
    private int contentType;
    private int matchType;

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public int getContentType() {
        return contentType;
    }

    public void setContentType(int contentType) {
        this.contentType = contentType;
    }

    public int getMatchType() {
        return matchType;
    }

    public void setMatchType(int matchType) {
        this.matchType = matchType;
    }
}
